//
//  TempViewController.swift
//  sina
//
//  Created by DXapple on 15/11/19.
//  Copyright © 2015年 sqlite. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.randomColor()
        self.title = "\(navigationController?.childViewControllers.count)页"
                   
        // Do any additional setup after loading the view.
    }
    override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
        let temp = TempViewController()
        navigationController?.pushViewController(temp , animated: true)
    }

   
    
    
}
